{include file=$themePath|cat:"header.html"}
<body>
<section>Sei un Mobile</section>
<section id="MainPage">
	{if $showNav}
	<div id="HeaderContainer">
	{include file=$themePath|cat:"nav.html"}
	</div>
	{/if}
	
	<div id=ContentContainer>
	
		{if $showAside}
		{include file=$themePath|cat:"aside.html"}
		{/if}
		<section class="bodyPage">
			<article class="bodyTpl">
			{if isset($pageTitle)}
				<div class="pageTitle shadow">{$pageTitle}</div>
			{/if}		
			{if $showError}
				<article class="error">{$errorMsg}</article>	
			{else}
				<article class="error">no error</article>
			{/if}
			{include file=$bodyTpl}
			</article>
			{if isset($debug)}
			<article><fieldset><legend>Debug</legend><pre>{$debug}</pre></fieldset></article>
			{/if}
		</section>			
	</div>

	{if $showFooter eq true}
	{include file=$themePath|cat:"footer.html"}
	{/if}

</section>
</body>
</html>
